package cbc.dao.pojo;

import java.sql.Blob;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TUser entity. @author MyEclipse Persistence Tools
 */

public class TUser implements java.io.Serializable {

	// Fields

	private String idCard;
	private String name;
	private String sex;
	private Date birth;
	private Integer age;
	private String national;
	private String degree;
	private String tel;
	private Blob picture;
	private String status;
	private String hepatitis;
	private String dysentery;
	private String typhoid;
	private String tuberculosis;
	private String skin;
	private String other;
	private Set<TCertificate> certificates = new HashSet<TCertificate>();
	private Set<TExamination> examinations = new HashSet<TExamination>();

	// Constructors

	/** default constructor */
	public TUser() {
	}

	/** minimal constructor */
	public TUser(String idCard, String name, String sex, Date birth,
			Integer age, String national, String degree, Blob picture) {
		this.idCard = idCard;
		this.name = name;
		this.sex = sex;
		this.birth = birth;
		this.age = age;
		this.national = national;
		this.degree = degree;
		this.picture = picture;
	}

	/** full constructor */
	public TUser(String idCard, String name, String sex, Date birth,
			Integer age, String national, String degree, String tel,
			Blob picture, String status, String hepatitis, String dysentery,
			String typhoid, String tuberculosis, String skin, String other) {
		this.idCard = idCard;
		this.name = name;
		this.sex = sex;
		this.birth = birth;
		this.age = age;
		this.national = national;
		this.degree = degree;
		this.tel = tel;
		this.picture = picture;
		this.status = status;
		this.hepatitis = hepatitis;
		this.dysentery = dysentery;
		this.typhoid = typhoid;
		this.tuberculosis = tuberculosis;
		this.skin = skin;
		this.other = other;
		
	}

	// Property accessors

	public String getIdCard() {
		return this.idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirth() {
		return this.birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getNational() {
		return this.national;
	}

	public void setNational(String national) {
		this.national = national;
	}

	public String getDegree() {
		return this.degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Blob getPicture() {
		return this.picture;
	}

	public void setPicture(Blob picture) {
		this.picture = picture;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getHepatitis() {
		return this.hepatitis;
	}

	public void setHepatitis(String hepatitis) {
		this.hepatitis = hepatitis;
	}

	public String getDysentery() {
		return this.dysentery;
	}

	public void setDysentery(String dysentery) {
		this.dysentery = dysentery;
	}

	public String getTyphoid() {
		return this.typhoid;
	}

	public void setTyphoid(String typhoid) {
		this.typhoid = typhoid;
	}

	public String getTuberculosis() {
		return this.tuberculosis;
	}

	public void setTuberculosis(String tuberculosis) {
		this.tuberculosis = tuberculosis;
	}

	public String getSkin() {
		return this.skin;
	}

	public void setSkin(String skin) {
		this.skin = skin;
	}

	public String getOther() {
		return this.other;
	}

	public void setOther(String other) {
		this.other = other;
	}

	public Set<TCertificate> getCertificates() {
		return certificates;
	}

	public void setCertificates(Set<TCertificate> certificates) {
		this.certificates = certificates;
	}

	public Set<TExamination> getExaminations() {
		return examinations;
	}

	public void setExaminations(Set<TExamination> examinations) {
		this.examinations = examinations;
	}

	

}